package com.own.component.common.login.property;

import com.own.constant.ConstantValue;
import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * AuthenticationLoginUserProperty
 *
 * @author chenxueli
 * @date 2023-08-10 16:24:49
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = AuthenticationLoginUserProperty.PREFIX)
public class AuthenticationLoginUserProperty {

    public static final String PREFIX = ConstantValue.CONFIG_VALUE_CONTENT + "auth";

    /**
     * 是否保存数据到缓存
     */
    private boolean cacheSessionUser = false;

}
